package grammer.parent;

import grammer.son.Son;

public class Parent {
    private void display(){
        System.out.println("父类");
    }
    public void display2(){
        System.out.println("父类2");
    }
    public static void main(String[] args) {
        Parent p=new Son();
        p.display();
        p.display2();
    }


}
